package com.jiyun.home.service.impl;

import com.jiyun.common.pojo.home.Activity;
import com.jiyun.home.mapper.ActivityMapper;
import com.jiyun.home.service.ActivityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ActivityImpl implements ActivityService {
    @Autowired
    private ActivityMapper activityMapper;


    @Override
    public List<Activity> findAll() {

        return activityMapper.findAll();
    }
}
